import React, { Component } from 'react';
// 路由跳转
import { Switch, Redirect, Route } from 'react-router-dom'
import Home from "@/views/Home"
class App extends Component {
  render() {
    return (
      <Switch>
        <Route path="/home" component={Home} />
        <Redirect from="/" to="/home" />
      </Switch>
    );
  }
}

export default App;
